//
//  CAlayer+Add.h
//  xunjiefanyiruanjian
//
//  Created by 陈镇 on 2024/8/7.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN

@interface UIView (Add)
-(void)sl_cornerRadius:(CGFloat)radius;
-(void)sl_cornerTopRadius:(CGFloat)radius ;
-(void)sl_cornerBotttomRadius:(CGFloat)radius ;

-(void)sl_cornerLeftRadius:(CGFloat)radius;
-(void)sl_cornerRightRadius:(CGFloat)radius;


/** 对角加圆角*/
-(void)sl_cornerOppositeAnglesRadius:(CGFloat)radius isLeft:(BOOL)isLeft;




-(void)sl_borderColor:(UIColor *)color borderWidth:(CGFloat)width;


@end

NS_ASSUME_NONNULL_END
